Skip to content

STD-40 | Realize TheoryBlock Controller#37

Merged
WerewolfNet merged 35 commits into
devfrom
STD-40
Oct 4, 2021
Merged

STD-40 | Realize TheoryBlock Controller#37
WerewolfNet merged 35 commits into
devfrom
STD-40

Conversation

@zefirlover
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread server/StudySharp.API/Controllers/TheoryBlockController.cs Outdated
Comment thread server/StudySharp.API/Controllers/TheoryBlockController.cs Outdated
Comment thread server/StudySharp.API/Controllers/TheoryBlockController.cs Outdated
Comment thread server/StudySharp.API/Controllers/TheoryBlockController.cs Outdated
Comment thread server/StudySharp.ApplicationServices/Commands/AddCourseCommand.cs
Comment thread server/StudySharp.API/Controllers/TheoryBlockController.cs
Comment thread server/StudySharp.API/Controllers/TheoryBlockController.cs Outdated
Comment thread server/StudySharp.API/Controllers/TheoryBlockController.cs
Add GetTheoryBlockByCourseIdRequest and GetTheoryBlockByCourseIdResponse
Add GetTheoryBlockByCourseId logic to the TheoryBlockController.cs, now commented due to lack of some queries
Comment thread server/StudySharp.API/Controllers/TheoryBlockController.cs Outdated
Comment thread server/StudySharp.API/Controllers/TheoryBlockController.cs Outdated
Comment thread server/StudySharp.API/Controllers/TheoryBlockController.cs Outdated
Comment thread server/StudySharp.API/Controllers/TheoryBlockController.cs Outdated
Comment thread server/StudySharp.API/Controllers/TheoryBlockController.cs Outdated
Comment thread server/StudySharp.API/Responses/TheoryBlocks/UpdateTheoryBlockResponce.cs Outdated
TheoryBlockController now works like a part of Course
Remove GetTheoryBlocksRequest.cs due to is uselessness
Other minor changes due to adding CourseId validation
# Conflicts:
#	server/StudySharp.ApplicationServices/Commands/RemoveTheoryBlockByIdCommand.cs
#	server/StudySharp.ApplicationServices/Queries/GetTheoryBlockByIdQuery.cs
In AddTheoryBlockCommand, GetTheoryBlockByCourseIdQuery, GetTheoryBlockByIdQuery, RemoveTheoryBlockByIdCommand, UpdateTheoryBlockCommand
Comment thread server/StudySharp.API/Controllers/CourseController.cs Outdated
Comment thread server/StudySharp.API/MapperProfiles/CourseProfile.cs Outdated
Comment thread server/StudySharp.API/Requests/Courses/AddCourseRequest.cs Outdated
Comment thread server/StudySharp.API/Requests/Courses/GetCourseByIdRequest.cs Outdated
Comment thread server/StudySharp.API/Requests/Courses/GetCoursesRequest.cs Outdated
Comment thread server/StudySharp.API/Responses/Courses/RemoveCourseByIdResponse.cs Outdated
Comment thread server/StudySharp.API/Responses/TheoryBlocks/GetTheoryBlocksResponse.cs Outdated
Comment thread server/StudySharp.API/Controllers/TheoryBlockController.cs
Comment thread server/StudySharp.API/Controllers/TheoryBlockController.cs Outdated
Delete GetTheoryBlocksResponse.cs
GetTheoryBlockByCourseId => GetTheoryBlocksByCourseId
Add row in mapper profile
Rename and minor changes in GetTheoryBlocksByCourseIdQuery.cs
Some changes in Update and Remove blocks
Fixed CourseId validation in UpdateTheoryBlockCommand.cs
Update now works correctly
Other minor changes
@WerewolfNet WerewolfNet merged commit 5e48b00 into dev Oct 4, 2021
@WerewolfNet WerewolfNet deleted the STD-40 branch October 4, 2021 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants